package com.example.libraryManager.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2022-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Borrow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 借阅id
     */
    @TableId(value = "brrow_id", type = IdType.AUTO)
    private Integer brrowId;

    /**
     * 用户id
     */
    private Integer uId;

    /**
     * 图书id
     */
    private Integer bookId;

    /**
     * 借阅时间
     */
    private LocalDateTime borrowStart;

    /**
     * 到期
     */
    private String borrowEnd;

    /**
     * 类型id
     */
    private Integer kindId;

}
